import os

from sumc.data import DBHelper
from sumc.sumc_site import SiteSpider, Harvester

if __name__ == '__main__':
    os.unlink('test.db')
    db = DBHelper('test.db')
    spider = SiteSpider()
    harvester = Harvester(db, spider)
    harvester.harvest()